<?php
include "connection.php";
$result=mysql_query("SELECT * FROM tprovince");
while ($row = mysql_fetch_object($result)) 
		{
			
			$arr[]=array("id"=>$row->id,"name"=>$row->name);
		}
		$response=array("items"=>$arr);
		$final=array("response"=>$response);
		echo json_encode($final);
?>